package com.dataseek.iot.product.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @discription:
 * @author: Freya.Yan
 * @date: 2022/3/11
 */
@Data
public class CtgVo {

    private Long id;

    private String ctgName;
    private String ctgCode;
    private long parentId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private List<CtgVo> childs;
}
